# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pyqt-builder
pkgver=1.16.4
pkgrel=0
pkgdesc="The PEP 517 compliant PyQt build system"
url="https://www.riverbankcomputing.com/software/pyqt-builder/"
arch="noarch"
license="custom:sip"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/P/PyQt-builder/pyqt_builder-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/pyqt_builder-$pkgver"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/PyQt_*.whl
}

sha512sums="
8f92feeed1112e47845dd716de68dab2d0620e53bccdb7eb35d57e737110ef9f5e0fe338f064db21e052870b5c0a0c459ebe7d2933cd4854eebf63a1bc517652  pyqt_builder-1.16.4.tar.gz
"
